Availability | 3.0 |
Description | Opens the Save As Command dialog box, which lets the user save the specified steps as a command. Dreamweaver warns the user of possible unintended consequences if the steps include an unrepeatable action. |
Arguments | arrayOfIndices |
The argument is an array of position indexes in the History palette. | |
Returns | Nothing. |
Enabler | None. |
Example | The following code saves the fourth, sixth, and eighth steps in the History palette as a command: |
dw.historyPalette.saveAsCommand([3,5,7]); |
|
![]() |